-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎉 New Source: Notion #7092
🎉 New Source: Notion #7092
Conversation
Sorry for the delay @burmecia ! I added this to our sprint to be reviewed. Is it possible to share the integration credentials to tests (you can send in Slack to me). |
Thank you @marcosmarxm , I've sent it to you on Slack. |
"has_children": { | ||
"type": "boolean" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most cases a common pattern is used as: ["null", "boolean"]
only use type: boolean if you are sure this field wont have null values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=========================== short test summary info ============================
FAILED test_core.py::TestBasicRead::test_read[inputs0] - jsonref.JsonRefError...
FAILED test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0]
=================== 2 failed, 12 passed in 91.99s (0:01:31) ====================
Unit test are passing! But Integraiton test are failing. I tested with your credential and ours. Let me know if you need help debugging.
I just tested on my side and it is working, can you confirm the latest code is used and the test command is below?
and if possible, can you send me your |
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"$ref": "user.json" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sherifnada this is supported by CDK? Running python acceptance_tests
pass but when I submit running ./gradlew airbyte-integrations:connectors:source-notion:integrationTest
the test failed. Only start working when I use the full schema (copy from user.json).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcosmarxm yes it's supported. Can you post the failure logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small changes, only having some problems with user
stream but soon we can merge this.
airbyte-integrations/connectors/source-notion/source_notion/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-notion/acceptance-test-config.yml
Outdated
Show resolved
Hide resolved
@burmecia and @sherifnada sorry for delay in logs.
test_full_refresh.py__TestFullRefresh__test_sequential_reads[inputs0] file
|
Hi @marcosmarxm, I tested using the same command as yours, but it is also successful on my laptop. Could that be your environment issue? The command I used:
It generates quite lengthy output, but the final result is success. |
Hello @burmecia thanks! I got one problem sync a Private Workspace, in your integration do you have one? |
No I didn't see that problem, do you have error log? |
Hello! Sorry to not finished your contribution before the date stipulated in the contest. All contributions made before 15-November are eligible to receive the award. We're trying to review your contribution as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @burmecia sorry the delay in review this amazing contribution!
* add source notion * update PR number in change log * bug fix and code improvement as code review suggestions * code improvement as review advices * new connector notion * format * correct creds file * run seed * bump connector version * format Co-authored-by: Marcos Marx <marcosmarxm@gmail.com>
What
How
Add four streams for this source:
Recommended reading order
Test Runs
unit test
integration test
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes